package com.april.pattern.behavioral.chainofresponsibility;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/09 17:04
 * @description
 */
public abstract class Approver {
    protected Approver approver;

    public void setNextApprover(Approver approver){
        this.approver = approver;
    }

    /**
     * 执行课程校验
     *
     * @param course 课程
     */
    public abstract void deploy(Course course);
}
